package git.soulbgm.common.annotation;

import git.soulbgm.common.enumerate.TimeType;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * @author SoulBGM
 * @version V1.0
 * @date 2019-07-03 18:16:36
 * @description Time生成策略
 */
@Target(FIELD)
@Retention(RUNTIME)
public @interface TimeBuild {

    /**
     * 生成Time的类型
     *
     * @return
     */
    TimeType timeType() default TimeType.NOW;

}
